//
//  LanchImagesViewController.m
//    
//
//  Created by iOS on 16/6/11.
//  Copyright © 2016年 iOS. All rights reserved.
//

#import "LanchImagesViewController.h"

@interface LanchImagesViewController ()

@end

@implementation LanchImagesViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIImageView * addesImageview = [[UIImageView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    addesImageview.image = [UIImage imageNamed:@"qidong"];
    [self.view addSubview:addesImageview];
    [self performSelector:@selector(click) withObject:self afterDelay:3.0];
   // [self ]
    // Do any additional setup after loading the view.
}
- (void)click{
    self.myBlock(YES);
    [self dismissViewControllerAnimated:nil completion:nil];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
